package cn.xuguowen.user.designPatten.chain_of_responsibility.jdk.filter;

/**
 * ClassName: FirstFilter
 * Package: cn.xuguowen.user.designPatten.chain_of_responsibility.jdk.filter
 * Description: 过滤器1
 *
 * @Author 徐国文
 * @Create 2023/6/2 17:43
 * @Version 1.0
 */
public class FirstFilter implements Filter{
    @Override
    public void doFilter(Request request, Response response, FilterChain chain) {
        System.out.println("过滤器1 前置处理");

        chain.doFilter(request,response);

        System.out.println("过滤器1 后置处理");
    }
}
